package cn.zhage.aimin.admin1.feign;

import cn.zhage.aimin.base.response.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/*
 *
 * @author 渣哥
 */
@FeignClient(name = "aimin-drug1", path = "/aimin-drug")
public interface DrugFeignClient {

    @RequestMapping(value = "/drug/list", method = RequestMethod.GET)
    Result<?> list();


    // 在没有feign 的情况下， 服务A 访问 服务B  http：  httpclient  okhttp  restTemplate
}
